package com.diankangwo.factory.dao;

import com.diankangwo.factory.entity.TdProvince;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface TdProvinceMapper {

    int deleteByPrimaryKey(Integer provinceid);

    int insert(TdProvince record);

    int insertSelective(TdProvince record);

    TdProvince selectByPrimaryKey(Integer provinceid);

    int updateByPrimaryKeySelective(TdProvince record);

    int updateByPrimaryKey(TdProvince record);

    /**
     * 获取所有省份
     */
    List<TdProvince> queryAll();
}